import time
from selenium import webdriver
from selenium.webdriver.common.by import By

driver=webdriver.Edge()
driver.maximize_window()
driver.get('http://10.59.9.12:7001')
time.sleep(2)
driver.find_element(By.XPATH,'//*[@id="searchForm"]/div[1]/input').send_keys("暖风机")
time.sleep(3)
driver.find_element(By.XPATH,'//*[@id="searchForm"]/div[2]/input').click()
time.sleep(5)



# driver=webdriver.Firefox()
# driver.maximize_window()
# driver.get('http://10.59.9.12:7001')
# time.sleep(2)
# driver.find_element(By.XPATH,'/html/body/div[3]/div[2]/ul/li[2]/a').click()
# time.sleep(3)
# driver.find_element(By.XPATH,'//*[@id="searchForm"]/div[2]/input').click()
# time.sleep(5)


